Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Fix miniblackhole #5169

Merged
merged 1 commit into from
Jan 24, 2025
Merged

[Bug] Fix miniblackhole #5169

merged 1 commit into from
Jan 24, 2025

Conversation

Xavion3
Copy link
Contributor

@Xavion3 Xavion3 commented Jan 23, 2025

What are the changes the user will see?

Miniblackhole will actually work as intended.

Why am I making these changes?

Miniblackhole accidentally used the wrong variable name at one point so was working incorrectly.

What are the changes from a developer perspective?

Slightly changed mbh code.

Screenshots/Videos

This is difficult to show because it's a slight change to the randomisation method.

How to test the changes?

Overrides to give yourself leftovers and a bunch of berries and the opponent miniblackhole, repeatedly start and play runs and it should consistently prefer leftovers to berries.

Checklist

  • I'm using beta as my base branch
  • There is no overlap with another PR?
  • The PR is self-contained and cannot be split into smaller PRs?
  • Have I provided a clear explanation of the changes?
  • Have I tested the changes manually?
  • Are all unit tests still passing? (npm run test)
    • Have I created new automated tests (npm run create-test) or updated existing tests related to the PR's changes?

@Xavion3 Xavion3 requested a review from a team as a code owner January 23, 2025 17:36
@damocleas damocleas added the P2 Bug Minor. Non crashing Incorrect move/ability/interaction label Jan 23, 2025
@damocleas damocleas merged commit 9c29cdc into pagefaultgames:beta Jan 24, 2025
13 checks passed
@Fontbane
Copy link
Contributor

For documentation purposes can you add to the PR description what the intended behavior is and what the incorrect behavior was

@Fontbane
Copy link
Contributor

Fontbane commented Jan 24, 2025

I’m actually gonna draw a hard line here. Yes, damo should have waited for any consensus to be reached before going ahead with this. When your whole team is going “wait this would be bad because xyz” you don’t go ahead with approval just because you personally think it “doesn’t feel that different”. Being head of balance means listening to balance team’s concerns. I’m aware there’s a lot going on right now so this may have flown under the radar, but that’s all the more reason to not approve+merge until proper attention can be given to it. That’s not the main issue here though.

We should NOT be approving much less merging PRs that don’t sufficiently document the changes within.

There is no clear indication within the pr description of what it does. It mentions a “fix” without stating what was fixed or what the issue was. “Actually works as intended” isn’t enough, you need to outline what the intended behavior was. Ideally before/after screenshots could be provided, though I understand this is a very small change to the code. The only hint of what the fix entails is in the testing section, but for all we know the intended behavior could just be “prioritize leftovers over anything else”. We already have an issue with lack of documentation on GitHub (Tapp was right moment?), and this pr being so incredibly nondescript only continues that trend.

Also, balance team, don’t be shy, comment on a PR if you object to it!

I would like this PR to be reverted.

@Xavion3 Xavion3 deleted the mbh-fix branch January 25, 2025 03:16
damocleas added a commit that referenced this pull request Jan 25, 2025
DayKev pushed a commit that referenced this pull request Jan 25, 2025
@Xavion3 Xavion3 restored the mbh-fix branch January 27, 2025 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 Bug Minor. Non crashing Incorrect move/ability/interaction
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants